<?php
namespace app\home\controller;

use app\frontc\base\FrontBaseController;

class Index extends FrontBaseController
{
    public function index()
    {
        $list=make("home/Index","service")->index(['page_size'=>1]);
        var_dump($list);
    }

    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }
}

